package com.rico.aware;

import org.springframework.context.ApplicationStartupAware;
import org.springframework.core.metrics.ApplicationStartup;
import org.springframework.stereotype.Component;

@Component
public class TestApplicationStartupAware implements ApplicationStartupAware {
    @Override
    public void setApplicationStartup(ApplicationStartup applicationStartup) {
        System.out.println("ApplicationStartupAware:"+applicationStartup);
    }
}
